public class ForceConvert {
    public static void main(String[] args) {
        int intVal = 99;
        long longVal = 199999999999999L;
        intVal = (int) longVal;//强制类型转换，高精度转换为低精度
        System.out.println(intVal);

        float floatVal = 11.32f;
        double doubleVal = 3344556.789;
        floatVal = (float) doubleVal;
        System.out.println(floatVal);

        int a = 65;//A
        char b = (char) (a+10);//K
        System.out.println(b);

    }
}